//
//  ViewController.m
//  aaaa
//
//  Created by mac on 2020/3/24.
//  Copyright © 2020 mac. All rights reserved.
//

#import "ViewController.h"

@interface ViewController ()
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *InnerW;
@property (weak, nonatomic) IBOutlet NSLayoutConstraint *innerH;

@end

@implementation ViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)updateViewConstraints
{
    [super updateViewConstraints];
    /*
     * To 辉哥， 这里设置ScrollView的ContentSize;
     * 这里设置了5横屏， 俩竖屏滚动。
     * 仅供辉哥参考。
     */
    _InnerW.constant = [UIScreen mainScreen].bounds.size.width * 5;
    _innerH.constant = [UIScreen mainScreen].bounds.size.height * 2;
}



@end

//CGSize ScreenSize()
//{
//    return [UIScreen mainScreen].bounds.size;
//}
